package com.york.jobmew.circle.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.york.jobmew.circle.api.req.GetShareCommentReq;
import com.york.jobmew.circle.api.req.RemoveShareCommentReq;
import com.york.jobmew.circle.api.req.SaveShareCommentReplyReq;
import com.york.jobmew.circle.api.vo.ShareCommentReplyVO;
import com.york.jobmew.circle.server.entity.po.ShareCommentReply;

import java.util.List;

/**
 * 评论及回复信息 服务实现类 ShareCommentReplyServiceImpl
 */
public interface ShareCommentReplyService extends IService<ShareCommentReply> {

    /**
     * add评论
     *
     * @param req
     * @return
     */
    Boolean saveComment(SaveShareCommentReplyReq req);

    /**
     * 删除评论
     *
     * @param req
     * @return
     */
    Boolean removeComment(RemoveShareCommentReq req);

    /**
     * 查询
     *
     * @param req
     * @return
     */
    List<ShareCommentReplyVO> listComment(GetShareCommentReq req);

}
